<?php
/**
 * Created by PhpStorm.
 * User: sunshine
 * Date: 2016/8/31
 * Time: 8:33
 */

require_once ('Admin/View/template/inc_admin.php');
?>


<div class="col-md-10  col-xs-12 col-sm-10 col-sm-offset-1 col-md-offset-1 col-xs-offset-1"  style="position: relative;top: 50px;"  >
    <h2 style="color: #03c2f9; margin-bottom: 0px;padding-bottom: 0px;"><p class="bg-white" style="margin-bottom: 10px;margin-top: 10px" >添加判断题</p></h2>
    <h4><p class="bg-info" style="margin-top:0px ;padding:10px" ><a href="admin.php" style="color: white">首页&nbsp;</a>/&nbsp;添加判断题</p></h4>
</div>
<div style="margin-top: 150px;margin-left: 250px;font-size: 20px;font-family: 微软雅黑"><p>请填写题目信息</p></div>
<div class="container-fluid" >
<form method="post" action="admin.php?c=j_test&m=add" enctype="multipart/form-data" class="form-horizontal">
    <div class="form-group">
        <label class="col-md-2 col-sm-offset-2 control-label" >试卷名：</label>
        <div class="col-md-4" >
            <select class="form-control" name="pid">
                <option value="0" >请选择</option>
                <option value="1" >aaa</option>
                <option value="2" >bbb</option>
                <option value="3" >we</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="exampleInputTextarea1" class="col-md-2 col-sm-offset-2 control-label">题干：</label>
        <div class="col-md-4" >
            <textarea class="form-control" id="exampleInputTextarea1" name="content" cols="40" rows="5" required></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="exampleInputText" class="col-md-2 col-sm-offset-2 control-label">分值：</label>
        <div class="col-md-4" >
            <input type="text" name="score" class="form-control" id="exampleInputText"  required>
        </div>
    </div>
     <div class="form-group">
        <label for="exampleInputText5" class="col-md-2 col-sm-offset-2 control-label">答案：</label>
        <div class="col-md-4" >
            <input type="text" name="ans" class="form-control" id="exampleInputText5"  required>
        </div>
    </div>
    <div class="form-group">
        <div class="col-md-offset-5 col-sm-4"  style="margin-top: 30px">
            <input type="submit" class="btn btn-success" value="提交">

            <input type="reset" class="btn btn-danger "  style="margin-left: 80px" value="重置">
        </div>
    </div>
</form>
</div>
</body>
</html>
